package com.domino.shared;

import java.io.Serializable;
import java.util.List;

import com.domino.shared.model.Brick;

public class SessionStateResponseFinished extends SessionStateResponse
		implements Serializable {
	
	List<Brick> moves;

	private SessionStateResponseFinished() {
		this(null);	
	}
	
	public SessionStateResponseFinished(List<Brick> moves) {
		super(moves==null || moves.isEmpty()?GAME_FINISHED:WAIT_FOR_SERVER);
		this.moves = moves;
	}

	public List<Brick>  getMoves() {
		return moves;
	}
	
	

}
